package com.group01.community.service.impl;

import com.group01.community.entity.ZyOwnerRoomRecord;
import com.group01.community.mapper.ZyOwnerRoomRecordMapper;
import com.group01.community.service.ZyOwnerRoomRecordService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 房屋绑定记录表  服务实现类
 * </p>
 *
 * @author iuoly
 * @since 2022-07-04
 */
@Service
public class ZyOwnerRoomRecordServiceImpl extends ServiceImpl<ZyOwnerRoomRecordMapper, ZyOwnerRoomRecord> implements ZyOwnerRoomRecordService {

    @Autowired(required = false)
    private ZyOwnerRoomRecordMapper zyOwnerRoomRecordMapper;

    @Override
    public List<ZyOwnerRoomRecord> getOwnerRoomRecordListByOwnerRoomId(Long zyOwnerRoomId) {
        return zyOwnerRoomRecordMapper.getOwnerRoomRecordListByOwnerRoomId(zyOwnerRoomId);
    }
}
